package org.zzq.my12306.frameworks.starter.log.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.zzq.my12306.frameworks.starter.log.annotation.ILog;
import org.zzq.my12306.frameworks.starter.log.core.ILogPrintAspect;

/**
 * 日志库自动装配
 * 公众号：马丁玩编程，回复：加群，添加马哥微信（备注：12306）获取项目资料
 */
@Configuration
public class LogAutoConfiguration {
    /**
     * {@link ILog} 日志打印 AOP 切面
     */
    @Bean
    public ILogPrintAspect iLogPrintAspect() {
        return new ILogPrintAspect();
    }
}
